<template>
  <div id="app">
    <input type="text">
    <span class="aaa">主页还是可以的</span>
    <div>
      <router-link to="/find?key=丁真">发现</router-link>
      <!-- <a href="#/find">发现</a> -->
    </div>
    <div>
      <!-- 雪豹为动态传参，需要提前配置路由 -->
      <router-link to="/friend/雪豹">朋友</router-link>
      <!-- <a href="#/friend">朋友</a> -->
    </div>
    <div>
      <!-- 路由出口 -->
      <router-view></router-view>
    </div>
  </div>
</template>

<script>


export default {
  name: 'App',
  components: {
    
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
#app div{
  width: 150px;
  height: 150px;
}
#app .aaa{
  color: pink;
}
</style>
